package com.lkhd.manage.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import lombok.ToString;

@ToString
@Table(name = "`attributename`")
public class Attributename implements Serializable{
    @Id
    @Column(name = "`attributeNameId`")
    private Long attributenameid;

    @Column(name = "`categoryId`")
    private Long categoryid;

    @Column(name = "`name`")
    private String name;

    @Column(name = "`createDate`",insertable=false)
    private Date createdate;

    @Column(name = "`updataDate`",updatable=false)
    private Date updatadate;

    /**
     * @return attributeNameId
     */
    public Long getAttributenameid() {
        return attributenameid;
    }

    /**
     * @param attributenameid
     */
    public void setAttributenameid(Long attributenameid) {
        this.attributenameid = attributenameid;
    }

    /**
     * @return categoryId
     */
    public Long getCategoryid() {
        return categoryid;
    }

    /**
     * @param categoryid
     */
    public void setCategoryid(Long categoryid) {
        this.categoryid = categoryid;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return createDate
     */
    public Date getCreatedate() {
        return createdate;
    }

    /**
     * @param createdate
     */
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /**
     * @return updataDate
     */
    public Date getUpdatadate() {
        return updatadate;
    }

    /**
     * @param updatadate
     */
    public void setUpdatadate(Date updatadate) {
        this.updatadate = updatadate;
    }
}